package com.microframework.boot.system.model.response;

import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.NonNull;

@Data
@AllArgsConstructor
@NoArgsConstructor
@JsonInclude(JsonInclude.Include.NON_EMPTY)
public class OrgTreeNode {
	
	@NonNull
	@Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED)
	private String id;
	
	
	@NonNull
	@Schema(description = "标签", requiredMode = Schema.RequiredMode.REQUIRED)
	private String label;
	
//	  id: number
//	  date: string
//	  name: string
//	  address: string
//	  hasChildren?: boolean
//	  children?: User[],
}
